/* 引入外部样式*/
@import '~antd/es/style/themes/default.less';

/* less变量的定义 */
@sider-menu-prefix-cls: ~'@{ant-prefix}-pro-sider-menu';
@nav-header-height    : @layout-header-height;

.ax_menu_root {
    height    :~'calc(100vh - @{nav-header-height})';
    overflow-y: auto;
}

/* :global用于覆盖默认样式 */
   :global {
    .@{sider-menu-prefix-cls} {
        &-sider {
            &.fix-sider-bar {
                .ant-menu-root {
                    height    :~'calc(100vh - @{nav-header-height})';
                    overflow-y: auto;
                }
            }
        }
    }
}
header+div{
    height: 100%;
}